package com.gxa.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("诊断药品单")
@JsonIgnoreProperties(value = { "handler" })
public class DiagnosisDrugVo {

    @ApiModelProperty(name = "id",notes = "诊断药品主ID",dataType = "Integer",required =  true)
    private Integer id;
    @ApiModelProperty(name = "drugId",notes = "药品id",dataType = "Integer",required =  false)
    private Integer drugId;
    @ApiModelProperty(name = "diagnosisId",notes = "诊断Id",dataType = "Integer",required =  false)
    private Integer diagnosisId;
    @ApiModelProperty(name = "img",notes = "药品图片",dataType = "String",required =  false)
    private String img;
    @ApiModelProperty(name = "name",notes = "药品名称",dataType = "String",required =  false)
    private String name;
    @ApiModelProperty(name = "serialNumber",notes = "药品编号",dataType = "String",required =  false)
    private String serialNumber;
    @ApiModelProperty(name = "model",notes = "药品型号",dataType = "String",required =  false)
    private String model;
    @ApiModelProperty(name = "num",notes = "药品数量",dataType = "Integer",required =  false)
    private Integer num;
    @ApiModelProperty(name = "price",notes = "药品单价",dataType = "BigDecimal",required =  false)
    private BigDecimal price;
    @ApiModelProperty(name = "totalAmount",notes = "药品总金额",dataType = "BigDecimal",required =  false)
    private BigDecimal totalAmount;
    @ApiModelProperty(name = "unitName",notes = "单位名称",dataType = "String",required =  false)
    private String unitName;
    @ApiModelProperty(name = "remarks",notes = "备注",dataType = "Integer",required =  false)
    private String remarks;
    @ApiModelProperty(name = "createTime",notes = "创建时间",dataType = "String",required = false)
    private String createTime;
    @ApiModelProperty(name = "status",notes = "药品状态",dataType = "Byte",required =  false)
    private Byte status;
}
